<!-- 编辑区域 -->
<div class="lists">
    <!-- 搜索框及工具条 -->
    <div class="c-head-box">
        <form method="get" action="{:Url('sms_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>手机号：</span><input type="text" name="phone" value="{$phone}"/></li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
        </form>
    </div>

    <!--用户列表-->
    <div class="lists-tab-cont">
        <div class="lists-table">
            <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                <thead>
                <tr>
                    <th style="width: 10%" class="tabSort-header"><a class="tabSort-header-inner"><p>编号</p></a></th>
                    <th style="width: 10%" class="tabSort-header"><a class="tabSort-header-inner"><p>电话号码</p></a></th>
                    <th style="width: 10%" class="tabSort-header"><a class="tabSort-header-inner"><p>验证码</p></a></th>
                    <th style="width: 10%" class="tabSort-header"><a class="tabSort-header-inner"><p>状态</p></a></th>
                    <th style="width: 35%" class="tabSort-header"><a class="tabSort-header-inner"><p>错误说明</p></a></th>
                    <th style="width: 15%" class="tabSort-header"><a class="tabSort-header-inner"><p>发送时间</p></a></th>
                </tr>
                </thead>
                <tbody>
                {foreach name="com_sms_list" item="info"}
                    <tr>
                        <td>{$info.sms_id}</td>
                        <td>{$info.phone}</td>
                        <td>{$info.code}</td>
                        <td>{:widget('common/Color/color',array('sms_status',$info['sms_status']))}</td>
                        <td>{$info.error}</td>
                        <td>{$info.create_time}</td>
                    </tr>
                {/foreach}
                </tbody>
            </table>
        </div>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>